package cn.fenqing168.springcloud.service.controller;

import cn.fenqing168.springcloud.service.IMessageProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 发送消息的controller
 * @author Administrator
 */
@RestController
public class MessageProviderController {

    @Autowired
    private IMessageProviderService iMessageProviderService;

    @PostMapping("/send")
    public String send(){
        return iMessageProviderService.send();
    }

}
